package cn.lisens.demo.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController extends BaseController{

	@RequestMapping("/hello")
	public String hello(String flag) {
		if("1".equals(flag)) {
//			throw new RuntimeException("无权限");
		}
		return "hello";
	}
}
